﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class CookRobot : Robot
    {
        public enum leixing
        {
            东坡肘子,
            蒸熊掌,
            麻婆豆腐
        }
        private leixing Leixing;
        private leixing Leixing1;
        private leixing Leixing2;



        public CookRobot(string name, leixing Leixing, leixing Leixing1, leixing Leixing2) : base(name)
        {
            this.Leixing = Leixing;
            this.Leixing1 = Leixing1;
            this.Leixing2 = Leixing2;
        }
        public override void Working()
        {
            Console.WriteLine("我是{0},我会做{1}  {2}  {3}",base.Name,this.Leixing,this.Leixing1,this.Leixing2);
        }
    }
}
